/********************************************************************************
* @author: Liu  HZ
* @date: 2024/9/21
* @description: 
********************************************************************************/

#ifndef THE_PATH_OF_CPP_CODE_H
#define THE_PATH_OF_CPP_CODE_H

#include <iostream>
#include <string>
#include <set>
#include <unordered_set>
#include <vector>
#include <cmath>
#include <unordered_map>
#include <algorithm>

using namespace std;

/*
 * WY30 数字翻转
 */
int rev(int num) {
    int rev_num = 0;
    while (num) {
        rev_num = num % 10 + rev_num * 10;
        num /= 10;
    }

    return rev_num;
}


#endif //THE_PATH_OF_CPP_CODE_H
